<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>客户导入管理</title>
	<meta name="decorator" content="default"/>
<script src="${ctxStatic}/layer/layer.js"></script>
<script src="http://www.jq22.com/jquery/jquery-migrate-1.2.1.min.js"></script>
<script src="${ctxStatic}/js/widget/jquery.jqprint-0.3.js"></script>
<script src="${ctxStatic}/js/customerImportList.js"></script>
<script type="text/javascript">
		$(document).ready(function() {
			$("div#myPrintArea").jqprint(); 
		});
	</script>
</head>
<body>
<div id="myPrintArea">
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>序号</th>
				<th>导入批次</th>
				<th>姓名</th>
				<th>手机号</th>
				<th>公司名</th>
				<th>地址</th>
				<th>房产信息</th>
				<th>车辆信息</th>
				<th>车牌</th>
				<th>数据类型</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${list}" var="customerImport" varStatus="status">
			<tr>
				<td>${status.index+1}
				</td>
				<td>${customerImport.batchNo}
				</td>
				<td>${customerImport.name}</td>
				<td>${customerImport.mobile}
				</td>
				<td>${customerImport.company}
				</td>
				<td>${customerImport.addr}
				</td>
				<td>${customerImport.housePropertyInfo}
				</td>
				<td>${customerImport.carInfo}	
				</td>
				<td>${customerImport.plateno}
				</td>
				<td>
					<c:choose>
						<c:when test="${ customerImport.type=='1'}"><span >车辆信息</span></c:when>
						<c:when test="${ customerImport.type=='2'}"><span >房产信息</span></c:when>
						<c:when test="${ customerImport.type=='3'}"><span >其他信息（资料不全）</span></c:when>
						<c:otherwise><span style="color:red">未知类型</span></c:otherwise>
					</c:choose> 
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
</div>
<div>
		<div class="form-actions">
			<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
		</div>
	</div>
</body>
</html>